package com.huawei.account.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "huawei.agc")
public class AGCProperties {
    private String clientId;
    private String clientSecret;
    private String redirectUri;
    private int tokenExpirationSeconds = 3600; // 默认1小时
}
